import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import VueQuillEditor from 'vue-quill-editor'

// 引入Quill的样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

import QuillTextWrite from "@/components/QuillTextWrite";
import QuillTextRead from "@/components/QuillTextRead.vue";
import ArticleListCard from "@/components/ArticleListCard.vue"
Vue.component("QuillTextWrite", QuillTextWrite);
Vue.component("QuillTextRead", QuillTextRead);
Vue.component("ArticleListCard", ArticleListCard);

import 'quill-better-table/dist/quill-better-table.css'

import axios from 'axios';

Vue.prototype.$axios = axios;

Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
